<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>IM消息详细信息</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/dist/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/dist/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="/dist/css/skins/_all-skins.min.css">
    <!-- iCheck -->
    <link rel="stylesheet" href="/plugins/iCheck/flat/blue.css">
    <!-- Morris chart -->
    <link rel="stylesheet" href="/plugins/morris/morris.css">
    <!-- jvectormap -->
    <link rel="stylesheet" href="/plugins/jvectormap/jquery-jvectormap-1.2.2.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/js/html5shiv.min.js"></script>
    <script src="/js/respond.min.js"></script>
    <![endif]-->
<body class="skin-blue sidebar-mini wysihtml5-supported">
<jsp:include page="header.jsp"/>
<jsp:include page="menu.jsp"/>


<div class="content-wrapper">
    <section class="content-header">
            <h1>
                IM消息详细信息
            </h1>
            <ol class="breadcrumb">
                <li><a href="${firstMenuUrl}"><i class="fa fa-dashboard"></i>${firstMenuName}</a></li>
                <li><a href="${secMenuUrl}"><i class="fa fa-dashboard"></i>${secMenuName}</a></li>
                <li class="active">IM消息详细信息</li>
            </ol>

    </section>

    <section class="content">
        <div class="box box-info">
               <div class="form-horizontal">
                      <div class="box-body">

                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">消息id</label>
                                <div class="col-sm-10">
                                    <input type="text"  value="${cusUserWithBLOBs.id}" class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputEmail3">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">会话id</label>
                                <div class="col-sm-10">
                                    <input type="text"  value="${cusUserWithBLOBs.conversationid}" class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputEmail3">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">发送者id</label>
                                <div class="col-sm-10">
                                    <input type="text"  value="${cusUserWithBLOBs.fromuser}" class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputEmail3">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">消息类型</label>
                                <div class="col-sm-10">
                                    <input type="text"  value="${cusUserWithBLOBs.msgtype}" class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputEmail3">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">消息产生时间</label>
                                <div class="col-sm-10">
                                    <input type="text"  value='<fmt:formatDate value="${cusUserWithBLOBs.time}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/>' class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputEmail3">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">消息状态</label>
                                <div class="col-sm-10">

                                    <c:if test="${cusUserWithBLOBs.msgstatus == 0 || cusUserWithBLOBs.msgstatus ==null}">
                                    <input type="text" value="正常" class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputPassword3">
                                    </c:if>
                                    <c:if test="${cusUserWithBLOBs.msgstatus == 1}">
                                    <input type="text" value="撤销" class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputPassword3">
                                    </c:if>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">消息内容</label>
                                <div class="col-sm-10">
                                    <input type="text"  value="${cusUserWithBLOBs.content}" class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputEmail3">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">接收者列表</label>
                                <div class="col-sm-10">
                                    <input type="text"  value="${cusUserWithBLOBs.members}" class="form-control" readonly="readonly"  style="width:75%"
                                           id="inputEmail3">
                                </div>
                            </div>

                   </div>
            </div>
        </div>
    </section>
</div>


</div>

<!-- jQuery 2.1.4 -->
<script src="/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="/js/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
    $.widget.bridge('uibutton', $.ui.button);
</script>
<!-- Bootstrap 3.3.5 -->
<script src="/bootstrap/js/bootstrap.min.js"></script>
<!-- Sparkline -->
<script src="/plugins/sparkline/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script src="/plugins/knob/jquery.knob.js"></script>
<!-- daterangepicker -->
<script src="/js/moment.min.js"></script>
<!-- Slimscroll -->
<script src="/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="/plugins/fastclick/fastclick.min.js"></script>
<!-- AdminLTE App -->
<script src="/dist/js/app.min.js"></script>
</body>
</html>